package com.ojoin.trade.t0loan_core.web.service;

import java.util.List;

import org.springframework.data.domain.Pageable;

import com.ojoin.trade.common.exception.BusinessException;
import com.ojoin.trade.common.web.service.BaseService;
import com.ojoin.trade.t0loan_core.web.domain.TbFtpFile;

public interface FtpFileBaseService extends BaseService<TbFtpFile> {

	public int updateByVO(TbFtpFile vo) throws BusinessException;
	
	public int updateDealFlagByID(int id, int dealflag) throws BusinessException;
	
	public void saveDealAllFtpFile(String localdir) throws BusinessException; 
	
	public boolean saveParseFile(Integer id, String localPath, String localFileName) throws BusinessException;

	public TbFtpFile selectFtpFileByJoinuseridAndTransdate(int joinuserid, String transdate) throws BusinessException;
	
	public List<TbFtpFile> selectFtpFileListByCondition(String filetype, Integer downloadflag, Integer dealflag, Integer joinuserid, String startdate, String enddate, Pageable page) throws BusinessException;
	
}
	
